package com.ccys.db.mapper;

import com.ccys.db.entity.TblEapBenefit;
import com.ccys.db.vo.corporateAndInsurance.EapBenefitDetailVo;
import com.ccys.db.vo.corporateAndInsurance.EapInfoUsageUnionAllVo;
import com.ccys.db.vo.corporateAndInsurance.EapUsageLimitDetailsVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
 * Created by Mybatis Generator on 2023/12/18
 */
public interface TblEapBenefitMapper extends Mapper<TblEapBenefit>, MySqlMapper<TblEapBenefit> {
    EapBenefitDetailVo findEapBenefitDetail(@Param("id") String id);

    List<EapInfoUsageUnionAllVo> findEapInfoUsageUnionAll(@Param("benefitId") String benefitId);

    List<EapUsageLimitDetailsVo> findEapInfoUsageDetail(@Param("benefitId") String benefitId, @Param("month") String month);
}